package com.zhengxing.jienci.common.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("UserConnection")
public class SocialUser {
	
	@TableId(value = "userId")
	private String userId;
	
	@TableField(value = "providerId")
	private String providerId;
	
	@TableField(value = "providerUserId")
	private String providerUserId;
	
	@TableField(value = "rank")
	private int rank;
	
	@TableField(value = "displayName")
	private String displayName;
	
	@TableField(value = "profileUrl")
	private String profileUrl;
	
	@TableField(value = "imageUrl")
	private String imageUrl;
	
	@TableField(value = "accessToken")
	private String accessToken;
	
	@TableField(value = "secret")
	private String secret;
	
	@TableField(value = "refreshToken")
	private String refreshToken;
	
	@TableField(value = "expireTime")
	private long expireTime;
}
